package main

import (
	"go-play/gorm/dao"
	"log"
)

func main() {
	dao.InitORM()
	// tableName := "sbtest13"
	rows, err := dao.DB.Select("select * from sbtest13 limit 10").Rows()
	// print rows
	if err != nil {
		log.Fatalln(err)
	}
	log.Println(rows)
}
